package cn.sail.dao.impl;

import cn.sail.dao.UserDao;
import cn.sail.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public User login(String userName, String password) {
        return new User(userName,password);
    }
}
